package com.yugu.park.security.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.yugu.park.security.entity.TSysMenu;
import com.yugu.park.security.entity.TSysUser;
@Mapper
public interface TSysUserMapper {
	TSysUser selectUserByUserName(@Param("loginName") String username);
	List<String> selectAllPerms();
	List<String> selectPermsByUserId(@Param("userId") String userId);
	List<TSysMenu> getRouters(@Param("param")Map<String, String> param);
}
